﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Web.View.d60_qtdj_lsMenu.Default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>d60_qtdj_ls</title>
    <script src="/View/js/Alert.js" type="text/javascript"></script> 
    <script type="text/javascript">
        function SetWinData(index) {
            document.getElementById("Hid").value = d60_qtdj_ls_MainStore.getAt(index).get('jsdh');
            
			Txtdqbm.setValue(d60_qtdj_ls_MainStore.getAt(index).get('dqbm'));
			Txtdzbm.setValue(d60_qtdj_ls_MainStore.getAt(index).get('dzbm'));
			Txtzbh.setValue(d60_qtdj_ls_MainStore.getAt(index).get('zbh'));
			Txtcbh.setValue(d60_qtdj_ls_MainStore.getAt(index).get('cbh'));
			Txtzyid.setValue(d60_qtdj_ls_MainStore.getAt(index).get('zyid'));
			Txtgrbm.setValue(d60_qtdj_ls_MainStore.getAt(index).get('grbm'));
			Txthzxm.setValue(d60_qtdj_ls_MainStore.getAt(index).get('hzxm'));
			Txtrbh.setValue(d60_qtdj_ls_MainStore.getAt(index).get('rbh'));
			Txtbrxm.setValue(d60_qtdj_ls_MainStore.getAt(index).get('brxm'));
			Txtxb.setValue(d60_qtdj_ls_MainStore.getAt(index).get('xb'));
			Txtbrnl.setValue(d60_qtdj_ls_MainStore.getAt(index).get('brnl'));
			Txthzgx.setValue(d60_qtdj_ls_MainStore.getAt(index).get('hzgx'));
			Txtsfzh.setValue(d60_qtdj_ls_MainStore.getAt(index).get('sfzh'));
			Txthkdz.setValue(d60_qtdj_ls_MainStore.getAt(index).get('hkdz'));
			Txthbh.setValue(d60_qtdj_ls_MainStore.getAt(index).get('hbh'));
			Txtylzh.setValue(d60_qtdj_ls_MainStore.getAt(index).get('ylzh'));
			Txtzybh.setValue(d60_qtdj_ls_MainStore.getAt(index).get('zybh'));
			Txtjjlx.setValue(d60_qtdj_ls_MainStore.getAt(index).get('jjlx'));
			Txtrysj.setValue(d60_qtdj_ls_MainStore.getAt(index).get('rysj'));
			Txtcysj.setValue(d60_qtdj_ls_MainStore.getAt(index).get('cysj'));
			TxtNumzycs.setValue(d60_qtdj_ls_MainStore.getAt(index).get('zycs'));
			TxtNumzyts.setValue(d60_qtdj_ls_MainStore.getAt(index).get('zyts'));
			Txtjgdm.setValue(d60_qtdj_ls_MainStore.getAt(index).get('jgdm'));
			Txtjgjb.setValue(d60_qtdj_ls_MainStore.getAt(index).get('jgjb'));
			Txtryzd.setValue(d60_qtdj_ls_MainStore.getAt(index).get('ryzd'));
			Txtzdmc.setValue(d60_qtdj_ls_MainStore.getAt(index).get('zdmc'));
			Txtfyhj.setValue(d60_qtdj_ls_MainStore.getAt(index).get('fyhj'));
			Txtmxhj.setValue(d60_qtdj_ls_MainStore.getAt(index).get('mxhj'));
			Txtkbhj.setValue(d60_qtdj_ls_MainStore.getAt(index).get('kbhj'));
			Txtshkbje.setValue(d60_qtdj_ls_MainStore.getAt(index).get('shkbje'));
			Txtzfhj.setValue(d60_qtdj_ls_MainStore.getAt(index).get('zfhj'));
			Txtsjhj.setValue(d60_qtdj_ls_MainStore.getAt(index).get('sjhj'));
			Txtcehj.setValue(d60_qtdj_ls_MainStore.getAt(index).get('cehj'));
			Txtbsbl.setValue(d60_qtdj_ls_MainStore.getAt(index).get('bsbl'));
			Txtsfje.setValue(d60_qtdj_ls_MainStore.getAt(index).get('sfje'));
			Txtfdje.setValue(d60_qtdj_ls_MainStore.getAt(index).get('fdje'));
			Txtczry.setValue(d60_qtdj_ls_MainStore.getAt(index).get('czry'));
			Txthsry.setValue(d60_qtdj_ls_MainStore.getAt(index).get('hsry'));
			Txtshry.setValue(d60_qtdj_ls_MainStore.getAt(index).get('shry'));
			Txtfkry.setValue(d60_qtdj_ls_MainStore.getAt(index).get('fkry'));
			Txtcnry.setValue(d60_qtdj_ls_MainStore.getAt(index).get('cnry'));
			Txtzljg.setValue(d60_qtdj_ls_MainStore.getAt(index).get('zljg'));
			Txthsjg.setValue(d60_qtdj_ls_MainStore.getAt(index).get('hsjg'));
			Txtshjg.setValue(d60_qtdj_ls_MainStore.getAt(index).get('shjg'));
			Txthkjg.setValue(d60_qtdj_ls_MainStore.getAt(index).get('hkjg'));
			Txtclrq.setValue(d60_qtdj_ls_MainStore.getAt(index).get('clrq'));
			Txthsrq.setValue(d60_qtdj_ls_MainStore.getAt(index).get('hsrq'));
			Txtshrq.setValue(d60_qtdj_ls_MainStore.getAt(index).get('shrq'));
			Txtbcrq.setValue(d60_qtdj_ls_MainStore.getAt(index).get('bcrq'));
			Txtecje.setValue(d60_qtdj_ls_MainStore.getAt(index).get('ecje'));
			Txtshdfbz.setValue(d60_qtdj_ls_MainStore.getAt(index).get('shdfbz'));
			Txtbz.setValue(d60_qtdj_ls_MainStore.getAt(index).get('bz'));
			Txthkbz.setValue(d60_qtdj_ls_MainStore.getAt(index).get('hkbz'));
			Txtbzxx.setValue(d60_qtdj_ls_MainStore.getAt(index).get('bzxx'));
			Txtszbz.setValue(d60_qtdj_ls_MainStore.getAt(index).get('szbz'));
			Txtfpid.setValue(d60_qtdj_ls_MainStore.getAt(index).get('fpid'));
			Txtzt.setValue(d60_qtdj_ls_MainStore.getAt(index).get('zt'));
			Txtjzks.setValue(d60_qtdj_ls_MainStore.getAt(index).get('jzks'));
			Txtjzys.setValue(d60_qtdj_ls_MainStore.getAt(index).get('jzys'));
			Txthsx.setValue(d60_qtdj_ls_MainStore.getAt(index).get('hsx'));
			Txtchsx.setValue(d60_qtdj_ls_MainStore.getAt(index).get('chsx'));
			Txtdybz.setValue(d60_qtdj_ls_MainStore.getAt(index).get('dybz'));
			Txtfphm.setValue(d60_qtdj_ls_MainStore.getAt(index).get('fphm'));
			Txtljzyfy.setValue(d60_qtdj_ls_MainStore.getAt(index).get('ljzyfy'));
			Txtljzykb.setValue(d60_qtdj_ls_MainStore.getAt(index).get('ljzykb'));
			Txtljzybc.setValue(d60_qtdj_ls_MainStore.getAt(index).get('ljzybc'));
			Txtyphj.setValue(d60_qtdj_ls_MainStore.getAt(index).get('yphj'));
			Txtyphjkb.setValue(d60_qtdj_ls_MainStore.getAt(index).get('yphjkb'));
			Txtlxdh.setValue(d60_qtdj_ls_MainStore.getAt(index).get('lxdh'));
			Txtybje.setValue(d60_qtdj_ls_MainStore.getAt(index).get('ybje'));

            d60_qtdj_ls_Win.show();
        }
    </script>
</head>
<body>
    <form id="MainForm" runat="server">
    <ext:ResourceManager ID="MainResourceMgr" runat="server" />
    <!--用来导出到Excel的数据源-->
    <ext:Hidden ID="ExcelGridData" runat="server" />
    <!--d60_qtdj_ls表页面主数据元，自动生成-->
    <ext:Store runat="server" ID="d60_qtdj_ls_MainStore" OnRefreshData="d60_qtdj_ls_DataBind" AutoLoad="true">
        <Proxy>
            <ext:PageProxy />
        </Proxy>
        <Reader>
            <ext:JsonReader IDProperty="jsdh">
                <Fields>
                    
					<ext:RecordField Name="jsdh" />
					<ext:RecordField Name="dqbm" />
					<ext:RecordField Name="dzbm" />
					<ext:RecordField Name="zbh" />
					<ext:RecordField Name="cbh" />
					<ext:RecordField Name="zyid" />
					<ext:RecordField Name="grbm" />
					<ext:RecordField Name="hzxm" />
					<ext:RecordField Name="rbh" />
					<ext:RecordField Name="brxm" />
					<ext:RecordField Name="xb" />
					<ext:RecordField Name="brnl" />
					<ext:RecordField Name="hzgx" />
					<ext:RecordField Name="sfzh" />
					<ext:RecordField Name="hkdz" />
					<ext:RecordField Name="hbh" />
					<ext:RecordField Name="ylzh" />
					<ext:RecordField Name="zybh" />
					<ext:RecordField Name="jjlx" />
					<ext:RecordField Name="rysj" />
					<ext:RecordField Name="cysj" />
					<ext:RecordField Name="zycs" />
					<ext:RecordField Name="zyts" />
					<ext:RecordField Name="jgdm" />
					<ext:RecordField Name="jgjb" />
					<ext:RecordField Name="ryzd" />
					<ext:RecordField Name="zdmc" />
					<ext:RecordField Name="fyhj" />
					<ext:RecordField Name="mxhj" />
					<ext:RecordField Name="kbhj" />
					<ext:RecordField Name="shkbje" />
					<ext:RecordField Name="zfhj" />
					<ext:RecordField Name="sjhj" />
					<ext:RecordField Name="cehj" />
					<ext:RecordField Name="bsbl" />
					<ext:RecordField Name="sfje" />
					<ext:RecordField Name="fdje" />
					<ext:RecordField Name="czry" />
					<ext:RecordField Name="hsry" />
					<ext:RecordField Name="shry" />
					<ext:RecordField Name="fkry" />
					<ext:RecordField Name="cnry" />
					<ext:RecordField Name="zljg" />
					<ext:RecordField Name="hsjg" />
					<ext:RecordField Name="shjg" />
					<ext:RecordField Name="hkjg" />
					<ext:RecordField Name="clrq" />
					<ext:RecordField Name="hsrq" />
					<ext:RecordField Name="shrq" />
					<ext:RecordField Name="bcrq" />
					<ext:RecordField Name="ecje" />
					<ext:RecordField Name="shdfbz" />
					<ext:RecordField Name="bz" />
					<ext:RecordField Name="hkbz" />
					<ext:RecordField Name="bzxx" />
					<ext:RecordField Name="szbz" />
					<ext:RecordField Name="fpid" />
					<ext:RecordField Name="zt" />
					<ext:RecordField Name="jzks" />
					<ext:RecordField Name="jzys" />
					<ext:RecordField Name="hsx" />
					<ext:RecordField Name="chsx" />
					<ext:RecordField Name="dybz" />
					<ext:RecordField Name="fphm" />
					<ext:RecordField Name="ljzyfy" />
					<ext:RecordField Name="ljzykb" />
					<ext:RecordField Name="ljzybc" />
					<ext:RecordField Name="yphj" />
					<ext:RecordField Name="yphjkb" />
					<ext:RecordField Name="lxdh" />
					<ext:RecordField Name="ybje" />

                </Fields>
            </ext:JsonReader>
        </Reader> 
        <BaseParams>
            <ext:Parameter Name="start" Value="0" Mode="Raw">
            </ext:Parameter>
            <ext:Parameter Name="limit" Value="15" Mode="Raw">
            </ext:Parameter>
        </BaseParams>
    </ext:Store>
    <!--d60_qtdj_ls页面主表格-->
    <ext:Viewport ID="MainViewPort" runat="server">
        <Items>
            <ext:FitLayout>
                <Items>
                    <ext:GridPanel ID="d60_qtdj_ls_Grid" Layout="fit" TrackMouseOver="true" runat="server" StoreID="d60_qtdj_ls_MainStore"
                        StripeRows="true" Header="false" Border="false" Collapsible="true">
                        <TopBar>
                            <ext:Toolbar ID="MainToolBar" runat="server">
                                <Items>
                                    <ext:Button ID="BtnAdd" runat="server" Text="添加" Icon="Add">
                                        <Listeners>
                                            <Click Handler="#{d60_qtdj_ls_MainForm}.getForm().reset();#{Hid}.setValue('');#{d60_qtdj_ls_Win}.show();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button ID="BtnDel" runat="server" Text="删除" Icon="Delete">
                                        <DirectEvents>
                                            <Click OnEvent="BtnDel_Click">
                                                <Confirmation ConfirmRequest="true" Title="确认" Message="确实要删除吗?" />
                                                <EventMask ShowMask="true" Msg="正在删除数据，请等候 ..." />
                                            </Click>
                                        </DirectEvents>
                                        <Listeners>
                                            <Click Handler="if(#{d60_qtdj_ls_Grid}.getSelectionModel().getCount()<=0) {TellAlert('请选择要删除的记录');return false;}" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarSeparator />
                                    <ext:Button ID="BtnReload" runat="server" Text="重新加载" Icon="Reload">
                                        <Listeners>
                                            <Click Handler="#{d60_qtdj_ls_MainStore}.reload();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarFill />
                                    <ext:Button ID="BtnToExcel" runat="server" Text="To Excel" AutoPostBack="true" OnClick="BtnSaveToExcel"
                                        Icon="PageExcel">
                                        <Listeners>
                                            <Click Handler="#{ExcelGridData}.setValue(Ext.encode(d60_qtdj_ls_Grid.getRowsValues(false)));" />
                                        </Listeners>
                                        <ToolTips>
                                            <ext:ToolTip Title="将当前页内容存储为Excel文件">
                                            </ext:ToolTip>
                                        </ToolTips>
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                        </TopBar>
                        <ColumnModel ID="d60_qtdj_ls_ColumnMode" runat="server">
                            <Columns>
                                <ext:RowNumbererColumn Width="20" />
                                <ext:Column Header="主键" Sortable="true" Hidden="true" DataIndex="jsdh" />
                                
								<ext:Column Header="dqbm" Sortable="true" DataIndex="dqbm" />
								<ext:Column Header="dzbm" Sortable="true" DataIndex="dzbm" />
								<ext:Column Header="zbh" Sortable="true" DataIndex="zbh" />
								<ext:Column Header="cbh" Sortable="true" DataIndex="cbh" />
								<ext:Column Header="zyid" Sortable="true" DataIndex="zyid" />
								<ext:Column Header="grbm" Sortable="true" DataIndex="grbm" />
								<ext:Column Header="hzxm" Sortable="true" DataIndex="hzxm" />
								<ext:Column Header="rbh" Sortable="true" DataIndex="rbh" />
								<ext:Column Header="brxm" Sortable="true" DataIndex="brxm" />
								<ext:Column Header="xb" Sortable="true" DataIndex="xb" />
								<ext:Column Header="brnl" Sortable="true" DataIndex="brnl" />
								<ext:Column Header="hzgx" Sortable="true" DataIndex="hzgx" />
								<ext:Column Header="sfzh" Sortable="true" DataIndex="sfzh" />
								<ext:Column Header="hkdz" Sortable="true" DataIndex="hkdz" />
								<ext:Column Header="hbh" Sortable="true" DataIndex="hbh" />
								<ext:Column Header="ylzh" Sortable="true" DataIndex="ylzh" />
								<ext:Column Header="zybh" Sortable="true" DataIndex="zybh" />
								<ext:Column Header="jjlx" Sortable="true" DataIndex="jjlx" />
								<ext:Column Header="rysj" Sortable="true" DataIndex="rysj" />
								<ext:Column Header="cysj" Sortable="true" DataIndex="cysj" />
								<ext:Column Header="zycs" Sortable="true" DataIndex="zycs" />
								<ext:Column Header="zyts" Sortable="true" DataIndex="zyts" />
								<ext:Column Header="jgdm" Sortable="true" DataIndex="jgdm" />
								<ext:Column Header="jgjb" Sortable="true" DataIndex="jgjb" />
								<ext:Column Header="ryzd" Sortable="true" DataIndex="ryzd" />
								<ext:Column Header="zdmc" Sortable="true" DataIndex="zdmc" />
								<ext:Column Header="fyhj" Sortable="true" DataIndex="fyhj" />
								<ext:Column Header="mxhj" Sortable="true" DataIndex="mxhj" />
								<ext:Column Header="kbhj" Sortable="true" DataIndex="kbhj" />
								<ext:Column Header="shkbje" Sortable="true" DataIndex="shkbje" />
								<ext:Column Header="zfhj" Sortable="true" DataIndex="zfhj" />
								<ext:Column Header="sjhj" Sortable="true" DataIndex="sjhj" />
								<ext:Column Header="cehj" Sortable="true" DataIndex="cehj" />
								<ext:Column Header="bsbl" Sortable="true" DataIndex="bsbl" />
								<ext:Column Header="sfje" Sortable="true" DataIndex="sfje" />
								<ext:Column Header="fdje" Sortable="true" DataIndex="fdje" />
								<ext:Column Header="czry" Sortable="true" DataIndex="czry" />
								<ext:Column Header="hsry" Sortable="true" DataIndex="hsry" />
								<ext:Column Header="shry" Sortable="true" DataIndex="shry" />
								<ext:Column Header="fkry" Sortable="true" DataIndex="fkry" />
								<ext:Column Header="cnry" Sortable="true" DataIndex="cnry" />
								<ext:Column Header="zljg" Sortable="true" DataIndex="zljg" />
								<ext:Column Header="hsjg" Sortable="true" DataIndex="hsjg" />
								<ext:Column Header="shjg" Sortable="true" DataIndex="shjg" />
								<ext:Column Header="hkjg" Sortable="true" DataIndex="hkjg" />
								<ext:Column Header="clrq" Sortable="true" DataIndex="clrq" />
								<ext:Column Header="hsrq" Sortable="true" DataIndex="hsrq" />
								<ext:Column Header="shrq" Sortable="true" DataIndex="shrq" />
								<ext:Column Header="bcrq" Sortable="true" DataIndex="bcrq" />
								<ext:Column Header="ecje" Sortable="true" DataIndex="ecje" />
								<ext:Column Header="shdfbz" Sortable="true" DataIndex="shdfbz" />
								<ext:Column Header="bz" Sortable="true" DataIndex="bz" />
								<ext:Column Header="hkbz" Sortable="true" DataIndex="hkbz" />
								<ext:Column Header="bzxx" Sortable="true" DataIndex="bzxx" />
								<ext:Column Header="szbz" Sortable="true" DataIndex="szbz" />
								<ext:Column Header="fpid" Sortable="true" DataIndex="fpid" />
								<ext:Column Header="zt" Sortable="true" DataIndex="zt" />
								<ext:Column Header="jzks" Sortable="true" DataIndex="jzks" />
								<ext:Column Header="jzys" Sortable="true" DataIndex="jzys" />
								<ext:Column Header="hsx" Sortable="true" DataIndex="hsx" />
								<ext:Column Header="chsx" Sortable="true" DataIndex="chsx" />
								<ext:Column Header="dybz" Sortable="true" DataIndex="dybz" />
								<ext:Column Header="fphm" Sortable="true" DataIndex="fphm" />
								<ext:Column Header="ljzyfy" Sortable="true" DataIndex="ljzyfy" />
								<ext:Column Header="ljzykb" Sortable="true" DataIndex="ljzykb" />
								<ext:Column Header="ljzybc" Sortable="true" DataIndex="ljzybc" />
								<ext:Column Header="yphj" Sortable="true" DataIndex="yphj" />
								<ext:Column Header="yphjkb" Sortable="true" DataIndex="yphjkb" />
								<ext:Column Header="lxdh" Sortable="true" DataIndex="lxdh" />
								<ext:Column Header="ybje" Sortable="true" DataIndex="ybje" />

                            </Columns>
                        </ColumnModel>
                        <Listeners>
                            <RowDblClick Handler="SetWinData(rowIndex);" />
                        </Listeners>
                        <Plugins>
                            <ext:GridFilters runat="server" FiltersText="查找" ID="d60_qtdj_ls_Filter">
                                <Filters>
                                    
								<ext:StringFilter DataIndex="dqbm" />
								<ext:StringFilter DataIndex="dzbm" />
								<ext:StringFilter DataIndex="zbh" />
								<ext:StringFilter DataIndex="cbh" />
								<ext:StringFilter DataIndex="zyid" />
								<ext:StringFilter DataIndex="grbm" />
								<ext:StringFilter DataIndex="hzxm" />
								<ext:StringFilter DataIndex="rbh" />
								<ext:StringFilter DataIndex="brxm" />
								<ext:StringFilter DataIndex="xb" />
								<ext:StringFilter DataIndex="brnl" />
								<ext:StringFilter DataIndex="hzgx" />
								<ext:StringFilter DataIndex="sfzh" />
								<ext:StringFilter DataIndex="hkdz" />
								<ext:StringFilter DataIndex="hbh" />
								<ext:StringFilter DataIndex="ylzh" />
								<ext:StringFilter DataIndex="zybh" />
								<ext:StringFilter DataIndex="jjlx" />
								<ext:StringFilter DataIndex="rysj" />
								<ext:StringFilter DataIndex="cysj" />
								<ext:StringFilter DataIndex="jgdm" />
								<ext:StringFilter DataIndex="jgjb" />
								<ext:StringFilter DataIndex="ryzd" />
								<ext:StringFilter DataIndex="zdmc" />
								<ext:StringFilter DataIndex="fyhj" />
								<ext:StringFilter DataIndex="mxhj" />
								<ext:StringFilter DataIndex="kbhj" />
								<ext:StringFilter DataIndex="shkbje" />
								<ext:StringFilter DataIndex="zfhj" />
								<ext:StringFilter DataIndex="sjhj" />
								<ext:StringFilter DataIndex="cehj" />
								<ext:StringFilter DataIndex="bsbl" />
								<ext:StringFilter DataIndex="sfje" />
								<ext:StringFilter DataIndex="fdje" />
								<ext:StringFilter DataIndex="czry" />
								<ext:StringFilter DataIndex="hsry" />
								<ext:StringFilter DataIndex="shry" />
								<ext:StringFilter DataIndex="fkry" />
								<ext:StringFilter DataIndex="cnry" />
								<ext:StringFilter DataIndex="zljg" />
								<ext:StringFilter DataIndex="hsjg" />
								<ext:StringFilter DataIndex="shjg" />
								<ext:StringFilter DataIndex="hkjg" />
								<ext:StringFilter DataIndex="clrq" />
								<ext:StringFilter DataIndex="hsrq" />
								<ext:StringFilter DataIndex="shrq" />
								<ext:StringFilter DataIndex="bcrq" />
								<ext:StringFilter DataIndex="ecje" />
								<ext:StringFilter DataIndex="shdfbz" />
								<ext:StringFilter DataIndex="bz" />
								<ext:StringFilter DataIndex="hkbz" />
								<ext:StringFilter DataIndex="bzxx" />
								<ext:StringFilter DataIndex="szbz" />
								<ext:StringFilter DataIndex="fpid" />
								<ext:StringFilter DataIndex="zt" />
								<ext:StringFilter DataIndex="jzks" />
								<ext:StringFilter DataIndex="jzys" />
								<ext:StringFilter DataIndex="hsx" />
								<ext:StringFilter DataIndex="chsx" />
								<ext:StringFilter DataIndex="dybz" />
								<ext:StringFilter DataIndex="fphm" />
								<ext:StringFilter DataIndex="ljzyfy" />
								<ext:StringFilter DataIndex="ljzykb" />
								<ext:StringFilter DataIndex="ljzybc" />
								<ext:StringFilter DataIndex="yphj" />
								<ext:StringFilter DataIndex="yphjkb" />
								<ext:StringFilter DataIndex="lxdh" />
								<ext:StringFilter DataIndex="ybje" />

                                </Filters>
                            </ext:GridFilters>
                        </Plugins>
                        <LoadMask ShowMask="true" Msg="正在加载..." />
                        <SelectionModel>
                            <ext:CheckboxSelectionModel ID="CheckBoxGrid" runat="server" />
                        </SelectionModel>
                        <BottomBar>
                            <ext:PagingToolbar ID="PagingToolBar" StoreID="d60_qtdj_ls_MainStore" PageSize="15" runat="server" />
                        </BottomBar>
                    </ext:GridPanel>
                </Items>
            </ext:FitLayout>
        </Items>
    </ext:Viewport>
    
    <!--d60_qtdj_ls表修改，添加主窗体-->
    <ext:Window ID="d60_qtdj_ls_Win" Collapsible="true" Hidden="true" Modal="true"
        Maximizable="true" runat="server" Title="添加/修改记录" Icon="WorldEdit" Width="630" AutoHeight="true"
        Resizable="true">
        <Items>
            <ext:Hidden ID="Hid" runat="server">
            </ext:Hidden>
            <ext:FormPanel ID="d60_qtdj_ls_MainForm" LabelWidth="65" Frame="true" runat="server"
                Border="false" Height="1080" Padding="5" Icon="UserAdd" Layout="Column">
                <Items>
                    <ext:Panel runat="server" Border="false" Header="false" ColumnWidth=".5" Layout="Form">
                        <Items>
                            
							<ext:TextField ID="Txtdqbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="dqbm" />
							<ext:TextField ID="Txtzbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zbh" />
							<ext:TextField ID="Txtzyid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zyid" />
							<ext:TextField ID="Txthzxm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hzxm" />
							<ext:TextField ID="Txtbrxm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="brxm" />
							<ext:TextField ID="Txtbrnl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="brnl" />
							<ext:TextField ID="Txtsfzh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="sfzh" />
							<ext:TextField ID="Txthbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hbh" />
							<ext:TextField ID="Txtzybh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zybh" />
							<ext:TextField ID="Txtrysj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="rysj" />
							<ext:NumberField ID="TxtNumzycs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zycs" />
							<ext:TextField ID="Txtjgdm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jgdm" />
							<ext:TextField ID="Txtryzd" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ryzd" />
							<ext:TextField ID="Txtfyhj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="fyhj" />
							<ext:TextField ID="Txtkbhj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="kbhj" />
							<ext:TextField ID="Txtzfhj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zfhj" />
							<ext:TextField ID="Txtcehj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cehj" />
							<ext:TextField ID="Txtsfje" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="sfje" />
							<ext:TextField ID="Txtczry" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="czry" />
							<ext:TextField ID="Txtshry" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="shry" />
							<ext:TextField ID="Txtcnry" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cnry" />
							<ext:TextField ID="Txthsjg" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hsjg" />
							<ext:TextField ID="Txthkjg" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hkjg" />
							<ext:TextField ID="Txthsrq" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hsrq" />
							<ext:TextField ID="Txtbcrq" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="bcrq" />
							<ext:TextField ID="Txtshdfbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="shdfbz" />
							<ext:TextField ID="Txthkbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hkbz" />
							<ext:TextField ID="Txtszbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="szbz" />
							<ext:TextField ID="Txtzt" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zt" />
							<ext:TextField ID="Txtjzys" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jzys" />
							<ext:TextField ID="Txtchsx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="chsx" />
							<ext:TextField ID="Txtfphm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="fphm" />
							<ext:TextField ID="Txtljzykb" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ljzykb" />
							<ext:TextField ID="Txtyphj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="yphj" />
							<ext:TextField ID="Txtlxdh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="lxdh" />

                        </Items>
                    </ext:Panel>
                    <ext:Panel runat="server" Border="false" Header="false" ColumnWidth=".5" Layout="Form">
                        <Items> 
                            
							<ext:TextField ID="Txtdzbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="dzbm" />
							<ext:TextField ID="Txtcbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cbh" />
							<ext:TextField ID="Txtgrbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="grbm" />
							<ext:TextField ID="Txtrbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="rbh" />
							<ext:TextField ID="Txtxb" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="xb" />
							<ext:TextField ID="Txthzgx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hzgx" />
							<ext:TextField ID="Txthkdz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hkdz" />
							<ext:TextField ID="Txtylzh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ylzh" />
							<ext:TextField ID="Txtjjlx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jjlx" />
							<ext:TextField ID="Txtcysj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cysj" />
							<ext:NumberField ID="TxtNumzyts" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zyts" />
							<ext:TextField ID="Txtjgjb" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jgjb" />
							<ext:TextField ID="Txtzdmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zdmc" />
							<ext:TextField ID="Txtmxhj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mxhj" />
							<ext:TextField ID="Txtshkbje" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="shkbje" />
							<ext:TextField ID="Txtsjhj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="sjhj" />
							<ext:TextField ID="Txtbsbl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="bsbl" />
							<ext:TextField ID="Txtfdje" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="fdje" />
							<ext:TextField ID="Txthsry" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hsry" />
							<ext:TextField ID="Txtfkry" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="fkry" />
							<ext:TextField ID="Txtzljg" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zljg" />
							<ext:TextField ID="Txtshjg" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="shjg" />
							<ext:TextField ID="Txtclrq" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="clrq" />
							<ext:TextField ID="Txtshrq" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="shrq" />
							<ext:TextField ID="Txtecje" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ecje" />
							<ext:TextField ID="Txtbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="bz" />
							<ext:TextField ID="Txtbzxx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="bzxx" />
							<ext:TextField ID="Txtfpid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="fpid" />
							<ext:TextField ID="Txtjzks" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jzks" />
							<ext:TextField ID="Txthsx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hsx" />
							<ext:TextField ID="Txtdybz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="dybz" />
							<ext:TextField ID="Txtljzyfy" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ljzyfy" />
							<ext:TextField ID="Txtljzybc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ljzybc" />
							<ext:TextField ID="Txtyphjkb" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="yphjkb" />
							<ext:TextField ID="Txtybje" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ybje" />

                        </Items>
                    </ext:Panel>
                </Items>
            </ext:FormPanel>
        </Items>
        <Buttons> 
            <ext:Button Text="提交" ID="BtnSave" runat="server" Icon="Disk">
                <DirectEvents>
                    <Click OnEvent="BtnSave_Click">
                        <EventMask ShowMask="true" Msg="正在提交，请等候 ..."  />
                    </Click>
                </DirectEvents>
                <Listeners>
                    <Click Handler="if (#{d60_qtdj_ls_MainForm}.getForm().isValid()) {;}else{Ext.Msg.show({icon: Ext.MessageBox.ERROR, msg: '您填写的信息不正确，请您确认！', buttons:Ext.Msg.OK});return false;}" />
                </Listeners>
            </ext:Button>
            <ext:Button Text="取消" ID="BtnConcel" Icon="Delete">
                <Listeners>
                    <Click Handler="#{d60_qtdj_ls_Win}.hide();" />
                </Listeners>
            </ext:Button>
        </Buttons>
    </ext:Window>
    </form>
</body>
</html>
